<?php

// uncomment the following to define a path alias
// Yii::setPathOfAlias('local','path/to/local-folder');

// This is the main Web application configuration. Any writable
// CWebApplication properties can be configured here.
$MODE = 'local';

switch($MODE) {

case 'live': return require(dirname(__FILE__).'/live.php');
    break;
case 'test': return require(dirname(__FILE__).'/test.php');
    break;
default : return require(dirname(__FILE__).'/local.php');
    break;
}